/**
 * Created by CodeTlan.
 * User: Ing. Miguel Salas
 * Date: 3/29/12
 * Time: 10:55 PM
 */
Ext.define('CT.view.historial.FormFoto',{
    extend:'Ctc.view.Form',
    alias:'widget.formfoto',
    buildItems:function(){
        return [{
            xtype:'filefield',
            fieldLabel: 'Selecciona una foto',
            name: 'userfile'
        }]
    },
    buildButtons:function(){
        return [{
            text: 'Enviar',
            formBind: true,
            disabled: true,
            action: 'addFoto'
        }];
    }

});